Skip to content

Update Company::update method to support providing an id.#349

Open
MinDBreaK wants to merge 2 commits intointercom:masterfrom
MinDBreaK:master
Open

Update Company::update method to support providing an id.#349
MinDBreaK wants to merge 2 commits intointercom:masterfrom
MinDBreaK:master

Conversation

@MinDBreaK
Copy link

Allow update method to update a specified company with an id.

Why?

The API supports the update via ID but not the SDK. There is a workaround but it is not clean to use directly the client.

How?

I added the ID in the arguments of the update method and added a BC layer to avoid breaking apps or having to bump a major version.

On next major version, the BC layer will need to be removed.

Allow update method to update a specified company with an id.
The function is a Symfony only function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant